cmake_minimum_required(VERSION 3.10)
project(lvgl_event)
include_directories(.)
include_directories(./lv_drivers)
include_directories(./lvgl)


add_executable(${PROJECT_NAME} main.c)
target_link_libraries(${PROJECT_NAME}  lvgl  lv_drivers SDL2)
target_link_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR}/lib) #指定库路径
